package com.snake.springboot.authority.api.service;

import com.snake.springboot.authority.api.model.AuthModuleModel;

import java.util.List;

public interface AuthModuleService {

    AuthModuleModel addModule(AuthModuleModel model) throws Exception;

    int modifyModule(AuthModuleModel model) throws Exception;

    int removeModule(String moduleId);

    AuthModuleModel querySingleModule(String moduleId);

    List<AuthModuleModel> queryModuleList(AuthModuleModel params) throws Exception;
}
